package com.example.xm.mapper;

import com.example.xm.entity.Fenlei;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FenleiMapper {
    List<Fenlei> selectList(String name,Integer type);

    void insert(Fenlei fenlei);

    Fenlei selectByName(String name,Integer type);

    void updateByPrimaryKeySelective(Fenlei fenlei);

    void delete(int[] intArray);

    String selectNameById(Integer id);

    Fenlei selectById(Integer cid);
}
